package com.code.bolg.enums;

import lombok.Data;
import lombok.Getter;

@Getter
public enum ResultEnum {
    NOTFINDDATA(101, "没有查找到数据"),
    NOTFINDUSER(102, "该用户没有注册"),
    RESULTENUM(103, "String转对象错误"),
    NOTLOGIN(104, "未登录"),
    FAILURELOG(105, "登录失效"),
    FILEISNULL(106, "没有文件"),
    ILLEGALFILE(107, "非法文件"),
    GIF(107, ".gif"),
    JPG(108, ".jpg"),
    LOGINED(200, "已登录"),;
    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
